package cn.e4j.modular.crm.service;

import cn.e4j.core.dto.impl.Dto;
import cn.e4j.modular.crm.entity.GwfaT;
import cn.e4j.modular.crm.entity.GwfalT;
import cn.e4j.modular.crm.entity.GwfaT;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author liuw
 * @since 2019-10-25
 */
public interface GwfaTService extends IService<GwfaT> {

    /**
     * 查询费用编号列表
     */
    List<Map<String, Object>> getGwfalist(Page<Object> page, Dto dto);

    /**
     * 新增
     */
    void add(GwfaT gwfaT, GwfalT gwfalT);

    boolean existedTheParams(GwfaT gwfaT);

    void edit(GwfaT gwfaT, GwfalT gwfalT);

    void delete(GwfaT gwfaT, GwfalT gwfalT);

    void deleteBatch(List<GwfaT> gwfaTList);
}
